<?php

use think\Route;

Route::group('astrteam/:ver', function ()
{
    //  获取手机验证码
    Route::post('login/get_code', 'astrteam/:ver.Login/getCode');
    //  手机号登录
    Route::post('login/mobile', 'astrteam/:ver.Login/mobile');
    //  团队信息
    Route::get('team/info', 'astrteam/:ver.Info/info');
    //  团队结算统计
    Route::get('team/settle_list', 'astrteam/:ver.TeamData/settleList');
    //  团队成员详情
    Route::get('team/user_earning_list', 'astrteam/:ver.TeamData/userEarningList');
    //  上传发票信息
    Route::post('team/set_invoice', 'astrteam/:ver.TeamData/setInvoice');
    //  上传接口
    Route::post('upload/file', 'astrteam/:ver.Upload/upload');
});